package org.devf.fork.imsimulator.view;

import javafx.scene.control.Alert;

/**
 * AlterHelp related
 *
 * @author wanghuafu
 * @since 0.1 2023/9/14
 */
public class AlterHelp {

    public static void alter(String message) {
        // 创建一个信息提示框
        Alert alert = new Alert(Alert.AlertType.INFORMATION);
        alert.setTitle("Information Dialog");
        alert.setHeaderText("这是标题");
        alert.setContentText(message);
        // 显示提示框并等待用户响应
        alert.showAndWait();
    }

}
